package com.ruoyi.base.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 房间档案对象 tarch_room
 *
 * @author ruoyi
 * @date 2024-06-03
 */
@Data
@Accessors(chain = true)
public class Room extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;
    @JsonProperty("bId")
    private String bId;
    @JsonProperty("aId")
    private String aId;
    @JsonProperty("sId")
    private String sId;

    /**
     * 楼座ID
     */
    @Excel(name = "楼座ID")
    @JsonProperty("pId")
    @ApiModelProperty("楼座ID")
    private String pId;

    /**
     * 楼座名称
     */
    @Excel(name = "楼座名称")
    @ApiModelProperty("楼座名称")
    private String buildName;

    /**
     * 楼层
     */
    @Excel(name = "楼层")
    @ApiModelProperty("楼层")
    private Long floorNo;

    /**
     * 串口服务器名称
     */
    @Excel(name = "串口服务器名称")
    @ApiModelProperty("串口服务器名称")
    private String deviceName;

    /**
     * 校区名称
     */
    @Excel(name = "校区名称")
    @ApiModelProperty("校区名称")
    private String schoolAreaName;

    /**
     * 学校名称
     */
    @Excel(name = "学校名称")
    @ApiModelProperty("学校名称")
    private String schoolName;

    /**
     *
     */
    @Excel(name = "")
    private String floor;

    /**
     * 房间号码
     */
    @Excel(name = "房间号码")
    @ApiModelProperty("房间号码")
    private String roomNo;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("联系人")
    private String linkMan;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("联系电话")
    private String tel;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long orderNo;

    /**
     * 是否有效(1有效，0无效)
     */
    @Excel(name = "是否有效(1有效，0无效)")
    @ApiModelProperty("是否有效(1有效，0无效)")
    private Long enabled;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long delFlag;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createPerson;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createDate;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updatePerson;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updateDate;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal buySumQ;

    /**
     * 串口服务器ID
     */
    @Excel(name = "串口服务器ID")
    @ApiModelProperty("串口服务器ID")
    private String cjqId;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号")
    @ApiModelProperty("设备编号")
    private String meterNo;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String meterProtoId;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long loopCount;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("报警电量")
    private BigDecimal alarmEq;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("最大透支")
    private BigDecimal maxTzEq;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("最大围积")
    private BigDecimal maxTjEq;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("最大一次售电")
    private BigDecimal maxBuyEq;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("补助电量")
    private BigDecimal freeEq;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("结转方式--1：自动结转，2：人工结转")
    private Long jzType;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("补助结转下月--0：否，1：是")
    private Long isJzFreeEq;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty("售电单价")
    private BigDecimal EqPrice;


}
